
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="shortcut icon" href="images/favicon.ico">
    <link rel="apple-touch-icon-precomposed" href="images/apple-touch-icon.png">
    <title>我的订单</title>
    <link rel="stylesheet" href="${root}css/seedsui.min.css">
</head>

<body ontouchstart="">
<section class="page">
    <header>
        <div class="titlebar">
        	<a class="titlebar-button" href="${root}users/">
                <i class="icon icon-arrowleft"></i>
            </a>
            <h1 class="titlebar-title">我的订单</h1>
        </div>
    </header>
    <article>
    <ul class="tabbar tabbar-line animated" style="">
            <li class="tab ${isEmpty(p.status)?'active':''}" onclick="location.href='${root}orders/'">
                <label class="tab-label">全部状态</label>
            </li>
            <li class="tab ${p.status=='0'?'active':''}" onclick="location.href='${root}orders/?status=0'">
                <label class="tab-label">未付款</label>
            </li>
            <li class="tab ${p.status=='1'?'active':''}" onclick="location.href='${root}orders/?status=1'">
                <label class="tab-label">已付款</label>
            </li>
        </ul>
    <ul class="tabbar tabbar-lump reverse">
            <li class="tab ${isEmpty(p.tbl_name)?'active':''}" onclick="location.href='${root}orders/'">
                <label class="tab-label">全部类型</label>
            </li>
            <li class="tab ${p.tbl_name=='course'?'active':''}" onclick="location.href='${root}orders/?tbl_name=course'">
                <label class="tab-label">课程</label>
            </li>
            <li class="tab ${p.tbl_name=='vip'?'active':''}" onclick="location.href='${root}orders/?tbl_name=vip'">
                <label class="tab-label">VIP</label>
            </li>
            <li class="tab ${p.tbl_name=='combo'?'active':''}" onclick="location.href='${root}orders/?tbl_name=combo'">
                <label class="tab-label">合辑</label>
            </li>
            <li class="tab ${p.tbl_name=='zb'?'active':''}" onclick="location.href='${root}orders/?tbl_name=zb'">
                <label class="tab-label">直播</label>
            </li>
        </ul>
            <ul class="list">
            	<!--:for(r in obj!){  -->
            	<!--:if(r.status==1){  -->
                <li class="list-li underline" onclick="location.href='${root}${r.tbl_name!}/${r.tbl_id}'">
                    <div class="list-thumbnail">
                        <img data-load-src="" src="${www}${r.img!}" data-error-src="images/list-default.png"/>
                        <div class="sticker sticker-icon top left">
                            <span class="size12 icon-fav-fill"></span>
                        </div>
                    </div>
                    <div class="list-container">
                        <div class="list-title">
                            ${r.title!}
                        </div>
                        <div class="list-row">
                            <i class="list-icon icon-rdorem color-primary"></i>
                            <p class="list-font">
                               	<span style="color: red;">${r.price>0?r.price:'免费'}</span>
                            </p>
                        </div>
                        <div class="list-row">
                            <i class="list-icon icon-computer color-primary"></i>
                            <p class="list-font">单号:${r.orderno!}</p>
                        </div>
                    </div>
                    <button style="padding:0 8px;" class="button success">查看</button>
                </li>
                <!--:}else{  -->
                <li class="list-li underline" onclick="location.href='${root}pay/order/${r.id!}'">
                    <div class="list-thumbnail">
                        <img data-load-src="" src="${www}${r.img!}" data-error-src="images/list-default.png"/>
                        <div class="sticker sticker-icon top left">
                            <span class="size12 icon-fav-fill"></span>
                        </div>
                    </div>
                    <div class="list-container">
                        <div class="list-title">
                            ${r.title!}
                        </div>
                        <div class="list-row">
                            <i class="list-icon icon-rdorem color-primary"></i>
                            <p class="list-font">
                               	<span style="color: red;">${r.price>0?r.price:'免费'}</span>
                            </p>
                        </div>
                        <div class="list-row">
                            <i class="list-icon icon-computer color-primary"></i>
                            <p class="list-font">单号:${r.orderno!}</p>
                        </div>
                    </div>
                    <button style="padding:0 8px;" class="button cancel">
                    <span>付款</span>
                	</button>
                </li>
                <!--:}  -->
                <!--:}  -->
            </ul>
    </article>
</section>
     <script src="${root}js/seedsui.min.js"></script> 
    <script>

        
        function back(){history.go(-1);}
    </script>
</body>
</html>
